package com.Maykk.Demo01;

/**
 * @ClassName Teacher
 * @Description: TODO
 * @Author: MaykkSTAR@163.com
 * @DATE: 2023/1/13
 */
public class Teacher extends Person{

    @Override
    public void eat() {
        System.out.println("老师会吃");
    }

    @Override
    public void sleep() {
        System.out.println("老师会睡");
    }

    @Override
    public void sport() {
        System.out.println("老师会运动");
    }

    @Override
    public void MethodAbs() {
        System.out.println("我是老师类里继承人类的抽象类");
    }
    public static void MethodSta() {
        System.out.println("我是老师类中的静态类");
    }
}
